package com.mt.mapper;

import com.mt.VO.ExpectNumVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author Wang
 * @Description
 * @date 2021/1/19-16:53
 */
@Mapper
public interface ExpectNumMapper {

    boolean calculateExpectNum(@Param("map") Map<Integer,Integer> map);

    boolean insertExpectList(@Param("list") List<ExpectNumVO> list);

    boolean modifyExpectList(@Param("list") List<ExpectNumVO> list);

    ExpectNumVO selectExpectNum(@Param("userId") String userId, @Param("filmId") int filmId);

}
